<body>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.5.2/js/bootstrap.js"></script>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.css" rel="stylesheet">
</head>
<body style="background:lightblue">
<!--    <div th:include="back/common/css_js :: main"></div>-->
<div class="container" >
    <div style="text-align: center">
        <h4>用户注册信息</h4>
    </div>
    <div th:include="front/common/cssjs :: main"></div>
    <div class="container" style="margin-top: 10%;">
        <div style="max-width: 400px; margin: 0 auto; border-radius: 5px;">
            <div style="text-align: center;">
                <img th:src="@{/img/tou1.png}" width="80" style="border: 1px solid red;border-radius: 5px;">
            </div>

            <form th:action="@{/front/register}" method="post" >
                <div class="form-group">
                    <label for="name">设置账号</label>
                    <input name="name" id="name" type="text" placeholder="邮箱/账号/手机号" class="form-control">
                </div>
                <div class="form-group">
                    <label for="password">设置密码</label>
                    <input name="password" id="password" type="password"  placeholder="请设置密码" class="form-control">
                </div>
                <div class="form-group">
                    <label for="password">请确认密码</label>
                    <input name="password1" type="password" placeholder="请确认密码" class="form-control">
                </div>
                <div class="form-group">
                    <label for="nick">设置别名</label>
                    <input name="nick" id="nick" type="text" placeholder="请输入别名" class="form-control">
                </div>
                <div th:text="${pass}" style="color: red"></div>
                <div class="form-group">
                    <input type="submit" style="width: 100%" class="btn btn-success" value="注册">
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
</body>
</html>